package com.ics.cmsadmin.frame.constant;

/**
 * Created by Sandwich on 2018-08-09
 */
public interface Constants {
    String COOKIE_TOKEN = "token";
    Integer COOKIE_EXPIRE = 7200;
    String REDIS_TOKEN_PREFIX = "token_%s";
    Long REDIS_TOKEN_EXPIRE = 7200L;//秒

    String USER_TYPE_ADMIN = "0";
    String USER_TYPE_AGENT = "1";

    String USER_POST_TYPE_EMPLOYEE = "1";
    String USER_POST_TYPE_ASSISTANT = "2";
    String USER_POST_TYPE_MANAGER = "3";
    String USER_POST_TYPE_BOSS = "4";


    String APPLY_WITHDRAW_CASH_SUBMIT = "0";             // 提交提现申请
    String APPLY_WITHDRAW_CASH_ACCEPT_SUCCESS = "1";    // 接受提现申请成功
    String APPLY_WITHDRAW_CASH_ACCEPT_FAIL = "2";       // 接受提现申请失败
    String APPLY_WITHDRAW_CASH_REJECT = "3";            // 拒绝提现申请
    String APPLY_WITHDRAW_CASH_CANCEL = "4";            // 分销商主动取消提现申请

    String NOT_KNOWN = "not known";

    String UNLOGIN_AGENT_NO = "UNLOGIN_AGENT_NO";   // 未登陆的代理商编号
    String ADMIN_AGENT_NO = null;                     // 超级管理员等级代理商编号

    String DISABLE_STATUS = "0";            // 禁用状态
    String ENABLE_STATUS = "1";             // 启用状态


    String REGISTER_NUMERIC_TIPS = "该配置必须为数字";
    String REGISTER_INTEGER_TIPS = "该配置必须为整数";


    String AGENT_TYPE_COMPANY = "1";    // 公司/机构
    String AGENT_TYPE_PERSONAL = "2";   // 2. 个人'

}
